function getUser(){
	$.get("UserServlet",function(data){
		var user =data;
		$("#nick").html(user);
	},"text");
}
$(document).ready(function(){
	getUser();
});

function quit(){
	$.get("QuitServlet",function(data){
		alert("退出成功！");
		window.location.href="index.jsp";
	});
}
